﻿using Basefr.Attributes;
using Paas.Core.Const.Enums;
using Paas.Core.Meta.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Paas.Core.MetaPages.Entities
{
    /// <summary>
    /// 元数据页面
    /// </summary>
    [MainTable(nameof(MetaPage))]
    public class MetaPage : BaseEntity
    {
        /// <summary>
        /// 页面所属的应用
        /// </summary>
        public int? ApplicationId { get; set; }

        /// <summary>
        /// 页面英文名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 页面的显示名称，默认中文
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 元数据状态
        /// </summary>
        public MetaStatus? CurrentStatus { get; set; }

        /// <summary>
        /// 视图id，以逗号隔开
        /// </summary>
        public string MetaViewIds { get; set; }
    }

}
